home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n04.arc
/
GETFKEY.BAS
< prev
next >
Wrap
BASIC Source File
|
1989-01-31
|
258b
|
14 lines
Table$ = ";<=>?@ABCDTUVWXYZ[\]^_`abcdefghijklmnopq"
DEF FnGetFKey%
Code% = 0
DO
K$ = INKEY$
IF LEN(K$) = 2 THEN
K$ = RIGHT$(K$, 1)
Code% = INSTR(Table$, K$)
END IF
LOOP WHILE Code% = 0
FnGetFKey% = Code%
END DEF